<template>
  <div class="content" :class="{hasBg:$route.path=='/home'}">
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: "ContentView"
}
</script>

<style scoped>
.hasBg {
  background: url("@/assets/data.gif") center top no-repeat;
  background-size: 100% 100%;
}
.content {
  padding: 20px;
  height: calc(100% - 100px);
}


</style>
